package com.zbkj.common.request.project;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Auther:
 * @Date: 2024/7/8 10:23
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ClientProjectDownloadRequest对象", description = "客户端下载请求对象")
public class ClientProjectDownloadRequest {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("项目ID")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    @ApiModelProperty("资料类型：43、报告文件")
    @NotNull(message = "缺少资料类型参数")
    private Integer fileType;

    @ApiModelProperty("历史下载：缺省获取有效文件")
    private Long fileId;
}
